package com.crape.common.model;

import com.crape.common.utils.StringUtil;


/**
 * 话题关注关系类
 * 
 * @author ChenKai 2012-11-4 下午12:26:43
 */
public class SubjectRef {

    private Long id;        // ID
    private Long accountid; // 用户ID
    private Long subjectid; // 主题ID
    private Long articleid; // 文章ID
    private String createdate; // 创建时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public Long getSubjectid() {
        return subjectid;
    }

    public void setSubjectid(Long subjectid) {
        this.subjectid = subjectid;
    }

    public Long getArticleid() {
        return articleid;
    }

    public void setArticleid(Long articleid) {
        this.articleid = articleid;
    }

    public String getCreatedate() {
        return StringUtil.getTimeStr(createdate);
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }
}
